# Test handling discontiguous sections.
RUN: lldb-test object-file %p/Inputs/discontiguous-sections.syms -contents | FileCheck %s

CHECK: Showing 6 sections

CHECK:        ID: 0x1
CHECK-NEXT:   Name: MODULE

CHECK:        ID: 0x2
CHECK-NEXT:   Name: INFO

CHECK:        ID: 0x3
CHECK-NEXT:   Name: FILE
CHECK:        File size: 16
CHECK-NEXT:   Data:  (
CHECK-NEXT:       0000: 46494C45 2030202F 746D702F 612E630A                                      |FILE 0 /tmp/a.c.|
CHECK-NEXT:   )

CHECK:        ID: 0x4
CHECK-NEXT:   Name: PUBLIC

CHECK:        ID: 0x5
CHECK-NEXT:   Name: FILE
CHECK:        File size: 16
CHECK-NEXT:   Data:  (
CHECK-NEXT:       0000: 46494C45 2031202F 746D702F 622E630A                                      |FILE 1 /tmp/b.c.|
CHECK-NEXT:   )

CHECK:        ID: 0x6
CHECK-NEXT:   Name: FILE
CHECK:        File size: 16
CHECK-NEXT:   Data:  (
CHECK-NEXT:       0000: 46494C45 2032202F 746D702F 632E630A                                      |FILE 2 /tmp/c.c.|
CHECK-NEXT:   )
